/* 自定义样式 */
:root {
  --vp-c-brand: #1677ff;
  --vp-c-brand-light: #4096ff;
  --vp-c-brand-lighter: #69b1ff;
  --vp-c-brand-dark: #0958d9;
  --vp-c-brand-darker: #003eb3;
}

/* 组件演示区域样式 */
.vp-doc [class*='language-'] {
  margin: 0;
  border-radius: 0;
}

.vp-doc .demo-block {
  border: 1px solid #eaeefb;
  border-radius: 4px;
  margin: 16px 0;
}

.vp-doc .demo-block .demo-block-source {
  padding: 24px;
}

.vp-doc .demo-block .demo-block-meta {
  padding: 12px;
  border-top: 1px solid #eaeefb;
  background-color: #fafafa;
}

.vp-doc .demo-block .demo-block-control {
  border-top: 1px solid #eaeefb;
  height: 44px;
  box-sizing: border-box;
  background-color: #fff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  text-align: center;
  margin-top: -1px;
  color: #d3dce6;
  cursor: pointer;
  position: relative;
}

.vp-doc .demo-block .demo-block-control:hover {
  color: #1677ff;
  background-color: #f9fafc;
}

.vp-doc .demo-block .demo-block-control::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.vp-doc .demo-block .demo-block-control i {
  font-size: 16px;
  line-height: 44px;
  transition: transform 0.3s;
}

.vp-doc .demo-block .demo-block-control.is-fixed i {
  transform: rotate(180deg);
} 